package boot

import (
    "github.com/gogf/gf/frame/g"
    "github.com/gogf/gf/os/gtime"
    _ "webserver/packed"
)

func init() {
    err := gtime.SetTimeZone("Asia/Shanghai")
    if err == nil {
        g.Log().Line().Println("[boot-init]SetTimeZone(Asia/Shanghai)", "OK")
    } else {
        g.Log().Line().Println("[boot-init]SetTimeZone(Asia/Shanghai)", err.Error())
    }

}
